fix-flymake-xmlstarlet-invocation.diff
authorRob Browning <rlb@defaultvalue.org>
Tue, 5 Apr 2011 03:46:30 +0000 (22:46 -0500)
committerRob Browning <rlb@defaultvalue.org>
Tue, 5 Apr 2011 03:46:30 +0000 (22:46 -0500)
* Emacs now invokes the correct xmlstarlet executable on Debian systems.
  Patch: fix-flymake-xmlstarlet-invocation.diff
Provided-by: Jussi Judin <jjudin+debian@iki.fi>
  Date: Sat, 20 Oct 2007 14:42:02 UTC
Added-by: Rob Browning <rlb@defaultvalue.org>
  Status: Debian specific
  Bug: 447378

  Emacs invokes xmlstarlet rather than xml, which is the correct
  executable name on Debian systems.

lisp/progmodes/flymake.el

index 2a1982155364e8a322e046aabbbf3981d54f157e..0fdfe541ef5fab8928e5ee8616e83485bada1a56 100644 (file)
@@ -1759,7 +1759,7 @@ Use CREATE-TEMP-F for creating temp copy."
 
 ;;;; xml-specific init-cleanup routines
 (defun flymake-xml-init ()
-  (list "xml" (list "val" (flymake-init-create-temp-buffer-copy 'flymake-create-temp-inplace))))
+  (list "xmlstarlet" (list "val" (flymake-init-create-temp-buffer-copy 'flymake-create-temp-inplace))))
 
 (provide 'flymake)